
Paper title: It's All About Political Incentives: Democracy and the Renewable Feed-In Tariff
Authors: Patrick Bayer (Glasgow) and Johannes Urpelainen (Columbia) 
Journal of Politics

This version: November 7, 2015

All files/data were created using Stata 13 on Windows 10
Figure 2 was created using R

# ============================================================================================
# TABLE OF CONTENTS (file by file)
# ============================================================================================

(I) Files needed for replication of results from the main text:

	A: FIT_data.dta 		(main data set)
	
	B: analysis.do 			(main replication do file)
	C: prep.do				(preparatory do file that recodes variables, sets label names, etc.)
	
Running the 'analysis.do' replicates the models from the main paper; 'prep.do' is called automatically from 'analysis.do' and does not have to be run separately.


(II) Additional files for replication of results in appendix:

	A: FIT_design.dta		(data set of FIT design features - used with 'design.do')
	B: FIT_recoded.dta		(data set of recoded FIT policy - used with 'recoded.do')
	C: OECD_FITlevels.dta	(data set of FIT premium levels in OECD countries - used with 'OECDlevels.do')

	D: appendix.do			(main file to replicate most models presented in the appendix)
	E: coxmodel.do			(replication code for the Cox proportional hazards model - Appendix A25)
	F: crossection.do		(replication code for cross-sectional analysis - Appendix A24)
	G: design.do			(replication code for models on offgrid FIT design - Appendix A8)
	H: energycontracts.do	(replication code for models of competitive bidding for renewable energy contracts - Appendix A4)
	I: OECDlevels.do		(replication code for models of FIT levels in OECD countries - Appendix A11)
	J: prep.do				(preparatory do file that recodes variables, sets label names, etc.)
	K: recoded.do			(replication code for models using an alternative FIT coding - Appendix A13)
	L: rps.do				(replication code for models of renewable portfolio standards (RPS) - Appendix A3)

The 'prep.do' file is always called automatically from the respective files if needed.	


(III) Additional files for replication of the two figures in the main text:

FIGURE 1
	A: FIT_map.dta 			(data set for FIT adoption by country)
	B: world.dbf			(GIS file of world map - database file; needs only to be run once)
	C: world.shp			(GIS file of world map - shape file; needs only to be run once)
	
	D: map.do				(code for plotting Figure 1)

FIGURE 2
	A: lineplot.R			(R script for line plot in Figure 2a)
	B: mosaic.R				(R script for mosaic plot in Figure 2b)
	
# ============================================================================================
